/**
 * Created with Intellij IDEA.
 * Description:
 * User: 33013
 * Date: 2023-02-22
 * Time: 20:08
 */
//class  Dog{
//    public String name;
//    public int age;
//
//    public void test() {
//        System.out.println(name+"吃饭");
//    }
//}
public class Test {

    public String name;
    public int age;
    public  String sex;

    public Test(){
        ;
    }

    public Test(String name, int age, String sex) {
        this.name = name;
        this.age = age;
        this.sex = sex;
    }

    public void print(){
        System.out.println(this.name+"-"+this.age+"-"+this.sex);
    }

    public static void sum() {
        ;
    }



    public static void main(String[] args) {
//        Dog dog1=new Dog();
//        dog1.name="wangcai";
//        dog1.test();
        Test student=new Test("旺财",10,"男");
        Test student1=new Test();
        student.print();
        student1.print();
        sum();
        //student.main(args);
        //System.out.println("122"+1+'a');
    }

}
